<template>
  <section class="page-index">
    <div class="top-nav">
      <div class="t-top">
        <top-view />
      </div>
      <div class="t-bottom">
        <left-menu />
        <right-banner />
      </div>
    </div>
    <container />
  </section>

</template>

<script>
import LeftMenu from "@/components/index/Menu.vue";
import RightBanner from "@/components/index/Banner.vue";
import TopView from "@/components/index/TopView.vue";
import Container from "@/components/index/Container/index.vue";

export default {
  components: {
    LeftMenu,
    RightBanner,
    Container,
    TopView
  }
};
</script>

<style lang='scss' scoped>
.page-index {
  margin: 0 auto;
  width: 1190px;
  .top-nav {
    width: 100%;
    height: 475px;
    display: flex;
    flex-flow: column nowrap;

    .t-top {
      height: 50px;
      width: 100%;
      box-shadow: 0 2px 27px 0 rgba(0, 0, 0, 0.1);
    }
    .t-bottom {
      width: 100%;
      height: 425px;
      display: flex;
      justify-content: space-between;
      .left-menu {
        width: 230px;
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  .page-index {
    width: 950px;
  }
}
</style>
